package cn.sumpu.app.guoguojie.biz;

import java.util.Map;

import cn.sumpu.app.guoguojie.exception.AppBusinessException;

public interface Weibo {
	String openOauth(String oauthType) throws AppBusinessException;//打开授权页
	Map<String, String>  oauth(String oauthVerifier,String oauthType)throws AppBusinessException;//授权
	void sendMessage(String text,String accessToken,String accessSecret)throws AppBusinessException;//发消息
	void cancelAttentionWeibo(String accessToken,String accessSecret)throws AppBusinessException;//关注
}
